using System;

namespace JGSY.CourseManagement.Domain.Entities
{
    /// <summary>
    /// 播放记录实体类
    /// </summary>
    public class PlayRecord
    {
        /// <summary>
        /// 课程ID
        /// </summary>
        public string CourseId { get; set; }

        /// <summary>
        /// 平台ID
        /// </summary>
        public string PlatformId { get; set; }

        /// <summary>
        /// 播放次数
        /// </summary>
        public decimal PlayCount { get; set; }

        /// <summary>
        /// 是否增长（0:否, 1:是）
        /// </summary>
        public int IsGrowing { get; set; }

        /// <summary>
        /// 增长率
        /// </summary>
        public decimal? GrowingRate { get; set; }
    }
}